Automattic\WooCommerce\StoreApi\Schemas\V1\ProductSchema A

Total Complexity 58
Dependencies 9
Dependents 3
Total lines 943
Lines of code 731
Logical lines of code 114
Comment lines 148
Methods 18
Properties 2

Methods 18

Method Rating Maintainability Complexity Lines of code
get_properties()
C
19
1 462
get_variations()
A
39 9 68
get_price_range()
A
50 9 28
get_attributes()
A
50 8 25
get_term_list()
S
51 7 27
get_item_response()
S
43 2 46
get_low_stock_remaining()
S
62 4 11
prepare_product_price_response()
S
56 2 17
get_grouped_products()
S
65 2 11
filter_variation_attribute()
S
79 2 3
prepare_product_attribute_value()
S
68 2 7
get_remaining_stock()
S
72 2 6
get_tax_display_mode()
S
77 2 3
get_price_function_from_tax_display_mode()
S
79 2 3
filter_valid_attribute()
S
79 1 3
prepare_product_attribute_taxonomy_value()
S
79 1 3
get_images()
S
73 1 4
__construct()
S
75 1 4